//
//  MineIntroductionViewController.m
//  GiftItems
//
//  Created by lanou3g on 15/9/23.
//  Copyright (c) 2015年 lanou3g. All rights reserved.
//

#import "MineIntroductionViewController.h"
#import "CUSFlashLabel.h"
@interface MineIntroductionViewController ()
@property(nonatomic, strong) CUSFlashLabel *nameLabel;
@property(nonatomic, strong) UIImageView *picView;
@property(nonatomic, strong) CUSFlashLabel *picLabel;
@property(nonatomic, strong) UILabel *contentLabel;
@property(nonatomic, strong) UILabel *titleLabel;
@property(nonatomic, strong) CUSFlashLabel *ljLabel;
@property(nonatomic, strong) CUSFlashLabel *wyqLabel;
@property(nonatomic, strong) CUSFlashLabel *jqlLabel;
@property(nonatomic) BOOL type;
@end

@implementation MineIntroductionViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    self.view.backgroundColor = kRGB(255.0, 230.0, 255.0);
    [self addSubView];

}

- (void)addSubView {
    
    self.picView = [[UIImageView alloc] initWithFrame:CGRectMake((kWidth - 150)/2, 50, 150, 150)];
    self.picView.backgroundColor = kRGB(255.0, 180.0, 255.0);
    self.picView.image = [UIImage imageNamed:@"AppIcon60x60@3x"];
    [self.view addSubview:self.picView];
    
    self.picLabel = [[CUSFlashLabel alloc] initWithFrame:CGRectMake((kWidth - 150)/2, 200, 150, 30)];
    self.picLabel.text = @" 礼物的当前版本 V1.0";
    self.picLabel.font = [UIFont systemFontOfSize:15.0];
    [self setLabel:self.picLabel];
    
    
    self.nameLabel = [[CUSFlashLabel alloc] initWithFrame:CGRectMake((kWidth - 150)/2, 300, 275, 40)];
    self.nameLabel.text = @"开发团队:";
    self.nameLabel.font = [UIFont systemFontOfSize:18.0];
    [self setLabel:self.nameLabel];
    
    self.ljLabel = [[CUSFlashLabel alloc] initWithFrame:CGRectMake((kWidth - 25)/2, 350, 150, 30)];
    self.ljLabel.text = @"LouJie";
    self.ljLabel.font = [UIFont systemFontOfSize:18.0];
    [self setLabel:self.ljLabel];
    
    self.wyqLabel = [[CUSFlashLabel alloc] initWithFrame:CGRectMake((kWidth - 25)/2, 380, 150, 30)];
    self.wyqLabel.text = @"WeiYanQun";
    self.wyqLabel.font = [UIFont systemFontOfSize:18.0];
    [self setLabel:self.wyqLabel];
    
    self.jqlLabel = [[CUSFlashLabel alloc] initWithFrame:CGRectMake((kWidth - 25)/2, 410, 150, 30)];
    self.jqlLabel.text = @"JaingQingLian";
    self.jqlLabel.font = [UIFont systemFontOfSize:18.0];
    [self setLabel:self.jqlLabel];
}
// 设置Label的属性
- (void)setLabel:(CUSFlashLabel *)label {
    
    label.textAlignment = NSTextAlignmentLeft;
    label.numberOfLines = 0;
    label.textColor = kRGB(255.0, 175.0, 255.0);
    [label startAnimating];
    [self.view addSubview:label];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}



@end
